/**
 * 
 * Interface Enter
 * 
 * 这里放api接口
 * 
 */

// const enter='https://oemkk.weijuyunke.com/'
// const enter = 'http://192.168.0.200/';
// const enter = 'http://192.168.0.110/';
 // const enter='https://yuntt.weijuyunke.com/'
const enter = window.location.origin+'/';
// 
const api = {
	// http://192.168.0.110/business/activitylist/getActivitylist
	
    // 分享列表
	shareList:'business/activitylist/shareList',
	
	//活动详情
	selectGetId: 'business/activityconfig/getActivityconfig',
	//抖音SDK配置
	douPayH5Md5: 'business/mobile/douPayH5Md5',
	//抖音SDK配置
	jsMd5: 'business/mobile/jsMd5',
	// 视频转发
	douPayGetShare:'business/mobile/douPayGetShare',
   
	get_signature2: 'mobile/douyin/get_signature2',
	//抖音授权
	accountToken: 'business/activitylist/accountToken',
	
	//获取抖音/快手用户
	selectAccountId: 'business/mobile/selectAccountId',
	
	//抽中奖品
	activityDraw: 'business/mobile/activityDraw',
	
	//领取卡券
	collectCardCoupons: 'business/mobile/collectCardCoupons',
	
	//抖音转发
	getShare: 'business/mobile/getShare',
	
	//快手转发
	videoForwarding: 'business/mobile/videoForwarding',
	
	//视频号
	sphQrIssue: 'business/mobile/sphQrIssue',
	
	//我的奖品
	getWinningRecord: 'business/mobile/getWinningRecord',
	
	//支付
	nativePay: 'business/wxpayanorder/nativePay',
	
	//支付配置
	selectByPrimaryMerchantId: 'business/paytype/selectByPrimaryMerchantId',
	
	//微信H5服务商支付
	h5Pay: 'business/wxpayanorder/h5Pay',
	
	//微信H5普通支付
	shh5Pay: 'business/wxpayanorder/shh5Pay',
	
	//微信H5支付后查询支付状态
	getTradeStateDesc: 'business/wxpayanorder/getTradeStateDesc',
	
	//支付宝H5服务商支付
	fwsWapPay: 'business/alipaymerchant/fwsWapPay',
	
	//支付宝H5普通支付
	ptsjWapPay: 'business/alipaymerchant/ptsjWapPay',
	
	//跳转到商家首页
	getUserProfile: 'business/mobile/getDouPayUserProfile',
	
	//抖音快手用户信息
	selectMerchantFollowMe: 'business/MerchantManagement/selectMerchantFollowMe',
	
	//获取IP
	getIp: 'business/wechatpay/getIp',
	
	// 商家信息查询
	getMerchantinfo:'business/merchantinfo/getMerchantinfo',
	
	// 获取活动配置详情
	getActivityconfigList:'business/activityconfig/getActivityconfigList',
	// 获取订单金额
	getActivity:'business/activitylist/getActivity',
	// 
	
	

	
	
}

for (let key in api) {
	api[key] = `${enter}${api[key]}`;
}

module.exports = api;
